export default {
    grid: {
        left: "0%",
        right: "1%",
        top: "22%",
        bottom: "2%",
        containLabel: true,
    },
    legend: [
        {
            textStyle: {
                color: 'RGBA(187, 190, 191, 1)',
            },
            right: "0%",
            data: ['1测点', '2测点', '3测点', '4测点',]
        },
        {

            textStyle: {
                color: 'RGBA(187, 190, 191, 1)',
            },
            data: [
                {
                    name: "理论值",
                    lineStyle: {
                        type: "dotted",
                        width: 3,
                        color: "RGBA(223, 46, 47, 1)",
                    },
                },
                {
                    name: "临界值",
                    lineStyle: {
                        type: "dotted",
                        width: 3,
                        color: "RGBA(255, 196, 79, 1)",
                    },
                }
            ],
            right: "1%",
            top: "24%",
            selectedMode: false, // 是否允许点击
        }
    ],
    tooltip: {
        trigger: 'axis'
    },
    xAxis: [
        // 截面
        {
            type: 'category',
            data: [],
            axisLine: {
                lineStyle: {
                    color: "RGBA(41, 74, 77, 1)"
                },
            },
            axisLabel: {
                color: "#fff",
                interval: 0,
                rotate: 270,
                fontSize: 9

            },
            axisTick: {
                show: false
            },
            splitLine: {
                show: true,
                lineStyle: {
                    color: "RGBA(41, 74, 77, 1)"
                },
                interval: 0,
            },
            axisTick: {
                alignWithLabel: false,
                show: false
            }
        },
        // 测区
        {
            type: 'category',
            data: ["1测区", "2测区", "3测区", "4测区", "5测区", "6测区", "7测区",],
            axisLine: {
                show: false
            },
            axisLabel: {
                color: "#fff",
                interval: 0,

            },
            axisTick: {
                show: false
            },
            position: 'bottom',
            offset: 32, // X 轴相对于默认位置的偏移，在相同的 position 上有多个 X 轴的时候有用。
        },
    ],
    yAxis: {
        type: 'value',
        min: 4000,
        max: 5500,
        splitNumber: 3,
        axisLine: {
            lineStyle: {
                color: "#fff"
            }
        },
        splitLine: {
            lineStyle: {
                color: "RGBA(41, 74, 77, 1)"
            }
        }
    },
    series: [
        {
            name: "1测点",
            symbol: "none",
            data: [],
            type: 'line',
            color: 'RGBA(255, 184, 48, 1)',
            markLine: {
                silent: true,
                label: {
                    show: false
                },
                symbol: ['none', 'none'],
                name: "test",
                data: [
                    {
                        name: "理论值",
                        yAxis: 5000,
                        lineStyle: {
                            color: "rgba(232, 30, 30, 1)",
                        },
                        0: {
                            symbol: "none"
                        },
                        1: {
                            symbol: "none"
                        },
                    },
                    {
                        yAxis: 4250
                    }
                ]
            }
        },
        {
            name: "2测点",
            symbol: "none",
            data: [],
            type: 'line',
            color: 'RGBA(6, 157, 74, 1)',
        },
        {
            name: "3测点",
            symbol: "none",
            data: [],
            type: 'line',
            color: 'RGBA(255, 239, 101, 1)',
        },
        {
            name: "4测点",
            symbol: "none",
            data: [],
            type: 'line',
            color: 'RGBA(37, 120, 222, 1)',
        },
        {
            type: "line",
            symbol: "none",
            name: "理论值",
            color: "transparent",
        },
        {
            type: "line",
            symbol: "none",
            name: "临界值",
            color: "transparent",
        }


    ],


};